runtime.m.preemptoff (field)
20 uses
runtime (current package)
lock_futex.go#L220: if gp != gp.m.g0 && gp.m.preemptoff != "" {
mgc.go#L581: if gp := getg(); gp == mp.g0 || mp.locks > 1 || mp.preemptoff != "" {
mgc.go#L842: getg().m.preemptoff = "gcing"
mgc.go#L871: getg().m.preemptoff = ""
mgc.go#L917: mp.preemptoff = "gcing"
mgc.go#L969: mp.preemptoff = ""
mgc.go#L1179: gp.m.preemptoff = "GC worker init"
mgc.go#L1181: gp.m.preemptoff = ""
mgcmark.go#L413: if mp := getg().m; mp.locks > 0 || mp.preemptoff != "" {
panic.go#L773: if gp.m.preemptoff != "" {
panic.go#L778: print(gp.m.preemptoff)
panic.go#L1228: if mp.locks != 0 || mp.mallocing != 0 || mp.throwing != 0 || mp.preemptoff != "" || mp.dying != 0 {
preempt.go#L288: return mp.locks == 0 && mp.mallocing == 0 && mp.preemptoff == "" && mp.p.ptr().status == _Prunning
proc.go#L1084: gp.m.preemptoff = reason
proc.go#L1122: mp.preemptoff = ""
proc.go#L4532: if mp.preemptoff != "" {
proc.go#L5389: print(" M", mp.id, ": p=", id1, " curg=", id2, " mallocing=", mp.mallocing, " throwing=", mp.throwing, " preemptoff=", mp.preemptoff, ""+" locks=", mp.locks, " dying=", mp.dying, " spinning=", mp.spinning, " blocked=", mp.blocked, " lockedg=", id3, "\n")
runtime2.go#L534: preemptoff string // if != "", keep curg running on this m
stack.go#L378: if stackNoCache != 0 || thisg.m.p == 0 || thisg.m.preemptoff != "" {
stack.go#L481: if stackNoCache != 0 || gp.m.p == 0 || gp.m.preemptoff != "" {